package xcmg.device.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.purchase.PurchasePriceDO;

import java.util.List;

@Mapper
public interface PurchasePriceMapper {

    int insert(PurchasePriceDO record);

    int insertSelective(PurchasePriceDO record);

    int updateByExampleSelective(@Param("record") PurchasePriceDO record);

    List<PurchasePriceDO> list(PurchasePriceDO purchasePriceDO);

    List<PurchasePriceDO> listByLike(PurchasePriceDO purchasePriceDO);

    List<PurchasePriceDO> selectListByExact(PurchasePriceDO purchasePriceDO);

    int delete(PurchasePriceDO record);

    int updatePriceByMaterialsNoAndSupplierOrgId(PurchasePriceDO record);
}